import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import installUtils from './installUtils';
import 'lib-flexible'
import './assets/global.css'
import installVant from './installVant';
import router from './router';
const app = createApp(App)
installVant(app);
installUtils(app);
app.use(createPinia())
app.use(router)
app.config.globalProperties.addUrlPrefix = (url)=> {
    if (url && url.startsWith('http')) {
        return url
    } else {
        return `http://backend-api-01.newbee.ltd` + url
    }
};
app.mount('#app')
